package com.cabal.mall.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cabal.common.constants.SystemConstants;
import com.cabal.config.DS;
import com.cabal.mall.entity.CabalMallBuyRecord;
import com.cabal.mall.entity.CabalMallCoinAccount;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface CabalMallCoinAccountMapper extends BaseMapper<CabalMallCoinAccount> {

    @DS(value = SystemConstants.DS_KEY_CABALMALL)
    void updateMallCoinAccount(@Param("changeCoin") Integer changeCoin, @Param("userNum") Integer userNum);

}
